package wang.day4;

import java.util.Random;

public class random {
    public static void main(String[] args) {
        Random r=new Random();


//1-10
        for (int i = 0; i <100 ; i++) {
            int number= r.nextInt(9)+1;
            System.out.println("number = " + number);
        }

    }
}
